<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Menu</title>
</head>
<body>
<h3> ${name }</h3>
<a href="add?mid=${mid }"><button>Add Food</button></a>
<table>
<tr><th></th><th>Name</th><th>Price</th><th>Type</th><th></th><th></th></tr>
<c:forEach items="${foodlist }" var="f">
<tr>
<th>${f.fimge }</th><th>${f.fname }</th><th>${f.ftype }</th><th><a href="delete?fid=${f.fid }">Delete</a></th><th><a href="update?fid=${f.fid }">Update</a></th>
</tr>
</c:forEach>
</table>
</body>
</html>